<!DOCTYPE html>
<html>
<!--
Copyright 2013 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<head>
  <meta http-equiv="Pragma" content="no-cache">
  <meta http-equiv="Expires" content="-1">
  <title>{{title}}</title>
  <script type="text/javascript" src="common.js"></script>
  <script type="text/javascript" src="example.js"></script>
  <style>
    table {
      border: 1px solid #888;
      border-collapse: collapse;
    }

    thead {
      border-bottom: 1px solid #888;
    }

    td, th {
      border-left: 1px solid #888;
      padding: 4px;
    }
  </style>
</head>
<body {{attrs}}>
  <h1>{{title}}</h1>
  <h2>Status: <code id="statusField">NO-STATUS</code></h2>
  <p>The network_monitor example demonstrates how to listen for changes to the
     status of the network interfaces on this computer.<br> This API is normally
     only available to packaged apps with 'network-state' socket permission,
     but can be enabled for debugging purposes using the
     <code>--allow-nacl-socket-api=&lt;hostname&gt;</code> command line
     flag.<br>
  </p>

  <table>
    <thead>
      <tr>
        <th>Index</th>
        <th>Display Name</th>
        <th>Name</th>
        <th>Type</th>
        <th>State</th>
        <th>IP Addresses</th>
        <th>MTU</th>
      </tr>
    </thead>
    <tbody>
    </tbody>
  </table>

  <pre id="log" style="font-weight: bold"></pre>
  <div id="listener"></div>
</body>
</html>
